require.config({
    baseUrl: '../src/apps/',
    paths: {
        'jquery': '../lib/jquery.min',
        'swipe': '../lib/swiper-bundle.min',
        'bootstrap': '../lib/bootstrap.min',
        'loadcss': '../lib/loadCss.min',
        'ad': '../propments/ad',
        'dropmenu': '../propments/dropmenu',
        'modal': '../propments/modal',
        'swipe': '../propments/swipe',
        'mousemove': '../propments/mousemove',
        'countdown': '../propments/countdown',
    },
    shim: {
        e: {
            deps: ['jquery'], //这是依赖
            init: function () {
                return {
                    fn1: fn,
                    fn2: fn2
                }
            }
        },
        loadcss: {
            exports: 'loadCSS',
        }
    }
})

var w = document.documentElement.offsetWidth > 750 ? 750 : document.documentElement.offsetWidth;
var font_size = w / (750 / 10);
document.documentElement.style.fontSize = font_size + 'px';